<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="com.farm.web.constant.FarmConstant"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/view/conf/farmtag.tld" prefix="PF"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<base href="<PF:basePath/>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>全文索引管理- <PF:ParameterValue key="config.sys.title" /></title>
<meta name="description"
	content='<PF:ParameterValue key="config.sys.mate.description"/>'>
<meta name="keywords"
	content='<PF:ParameterValue key="config.sys.mate.keywords"/>'>
<meta name="author"
	content='<PF:ParameterValue key="config.sys.mate.author"/>'>
<meta name="robots" content="index,follow">
<jsp:include page="../web-simple/atext/include-web.jsp"></jsp:include>
</head>
<body>
	<!-- /.carousel -->
	<div class="containerbox">
		<div class="container" style="min-height: 500px; margin-top: 50px;">
			<div style="margin-top: 8px;"></div>
			<div class="row">
				<div class="col-md-12">
					<div class="panel panel-default">
						<div class="panel-heading">操作面板</div>
						<PF:IfParameterNoEquals key="config.wsch.able" val="true">
							<div class="panel-body">当前未启用WSCH检索引擎</div>
						</PF:IfParameterNoEquals>
						<PF:IfParameterEquals key="config.wsch.able" val="true">
							<div class="panel-body">
								<table class="table table-striped">
									<thead>
										<tr>
											<th>接口状态</th>
											<th><span style="color: red;">${error}</span><span
												style="color: green;">${able }</span></th>
										</tr>
										<tr>
											<th>检索项目</th>
											<th>${project.key }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${project.name }&nbsp;&nbsp;&nbsp;&nbsp;${project.id }</th>
										</tr>
									</thead>
									<tbody>
										<tr>
											<th>config.wsch.able</th>
											<td><PF:ParameterValue key="config.wsch.able" /></td>
										</tr>
										<tr>
											<th>config.wsch.api.base.url</th>
											<td><PF:ParameterValue key="config.wsch.api.base.url" /></td>
										</tr>
										<tr>
											<th>config.wsch.api.secret</th>
											<td><PF:ParameterValue key="config.wsch.api.secret" /></td>
										</tr>
										<tr>
											<th>config.wsch.api.loginname</th>
											<td><PF:ParameterValue key="config.wsch.api.loginname" /></td>
										</tr>
										<tr>
											<th>config.wsch.api.password</th>
											<td><PF:ParameterValue key="config.wsch.api.password" /></td>
										</tr>
										<tr>
											<th>config.wsch.project.key</th>
											<td><PF:ParameterValue key="config.wsch.project.key" /></td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="panel-body">
								<ul class="nav nav-pills nav-stacked">
									<li role="presentation" class="active"><a
										href="scindex/initSearchDics.do">更新检索字典（分类）</a></li>
									<li role="presentation" class="active"><a
										href="scindex/initSearchPops.do">更新检索权限</a></li>
									<li role="presentation" class="active"><a
										href="scindex/reIndex.do">重建全部索引</a></li>
									<hr />
									<li role="presentation" class="active"><a
										href="scindex/initproject.do">检索项目初始化（首次执行）</a></li>
								</ul>
							</div>
						</PF:IfParameterEquals>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>